package com.dabai.iot.core.task;

import com.dabai.common.core.utils.BatchTaskProcessor;
import com.dabai.common.tdengine.core.TDEngineTemplate;
import com.dabai.common.tdengine.model.DataRecord;

/**
 * 批量日志处理类
 *
 * @author kev1n
 */
public class BatchLogProcessor extends BatchTaskProcessor<DataRecord> {
    public BatchLogProcessor(TDEngineTemplate tdEngineTemplate) {
        super(tdEngineTemplate::saveBatch, 100, 500);
    }
}
